package logic
{
	import Common.GameDefine;

	public class GameItem
	{
		public var name:String = "";
		public var explain:String = "";
		
		public var item:int = GameDefine.INVALIDID;
		public var type:int = GameDefine.INVALIDID;
		
		public var id:int = GameDefine.INVALIDID;
		public var image:int = GameDefine.INVALIDID;
		public var sell:int = GameDefine.INVALIDID;
		
		public var i:int = GameDefine.INVALIDID;
		public var num:int = GameDefine.INVALIDID;
		public var px:int = GameDefine.INVALIDID;
		public var py:int = GameDefine.INVALIDID;
		
		
		public static const ET_HEAD:int = 0;
		public static const ET_BODY:int = 1;
		public static const ET_RIGHT:int = 2;
		public static const ET_LEFT:int = 3;
		public static const ET_GLOVE:int = 4;
		public static const ET_BELT:int = 5;
		public static const ET_SHOES:int = 6;
		public static const ET_RING1:int = 7;
		public static const ET_RING2:int = 8;
		public static const ET_COUNT:int = 9;
		
		
		public static const IT_CLAW:int = 0;
		public static const IT_AXE:int = 1;
		public static const IT_STICK:int = 2;
		public static const IT_SPEAR:int = 3;
		public static const IT_BOW:int = 4;
		public static const IT_HELMET:int = 6;
		public static const IT_ARMOR:int = 7;
		public static const IT_BRACELET:int = 8;
		public static const IT_FLUTE:int = 9;
		public static const IT_JEWELRY:int = 10;
		public static const IT_RING:int = 11;
		public static const IT_EARRING:int = 13;
		public static const IT_AMULET:int = 15;
		public static const IT_GOOD:int = 16;
		public static const IT_BOOMERANG:int = 17;
		public static const IT_THROWAXE:int = 18;
		public static const IT_STONE:int = 19;
		public static const IT_FOOD:int = 20;
		public static const IT_MATERIAL:int = 21;
		public static const IT_GEM:int = 22;
		public static const IT_BAGGAGE:int = 23;
		public static const IT_BELT:int = 24;
		public static const IT_SHIELD:int = 25;
		public static const IT_SHOES:int = 26;
		public static const IT_GLOVE:int = 27;
		public static const IT_PETHELMET:int = 31;
		public static const IT_WINGARMOR:int = 32;
		public static const IT_PETTOOTH:int = 33;
		
		
		public static const UIT_PLAYER:int = 0;
		public static const UIT_PET:int = 1;
		public static const UIT_TEAM:int = 2;
		
		
		public function GameItem()
		{
			
		}
		
		
		
		
		
	}
	
	
}

